package com.bawei.es.service;

import com.bawei.domain.request.IndexInfoReq;
import com.bawei.domain.response.IndexInfoResp;

public interface EsIndexService {

    public  boolean isExits(String indexName);

    public  void createIndex(IndexInfoReq indexInfoReq);

    public  void deleteIndex(String indexName);

    public IndexInfoResp getIndex(String indexName);

    public void modifyIndex(String newIndexName, IndexInfoReq indexInfoReq);
}
